package com.ruoyi.finances.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 凭证设置对象 tb_proof
 * 
 * @author ruoyi
 * @date 2024-11-15
 */
public class TbProof extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 凭证编号 */
    @Excel(name = "凭证编号")
    private Long proofId;

    /** 凭证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "凭证时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date proofTime;

    /** 摘要 */
    @Excel(name = "摘要")
    private String abstractContent;

    /** 凭证字 */
    @Excel(name = "凭证字")
    private String proofWords;

    /** 会计科目 */
    @Excel(name = "会计科目")
    private String accountingAccount;

    /** 借方金额 */
    @Excel(name = "借方金额")
    private String debitAmount;

    /** 贷方金额 */
    @Excel(name = "贷方金额")
    private String creditAmount;

    /** 附件 */
    @Excel(name = "附件")
    private String attachments;

    /** 制单人 */
    @Excel(name = "制单人")
    private String documenter;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditor;

    /** 凭证状态 */
    @Excel(name = "凭证状态")
    private String proofStatus;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProofId(Long proofId) 
    {
        this.proofId = proofId;
    }

    public Long getProofId() 
    {
        return proofId;
    }
    public void setProofTime(Date proofTime) 
    {
        this.proofTime = proofTime;
    }

    public Date getProofTime() 
    {
        return proofTime;
    }
    public void setAbstractContent(String abstractContent) 
    {
        this.abstractContent = abstractContent;
    }

    public String getAbstractContent() 
    {
        return abstractContent;
    }
    public void setProofWords(String proofWords) 
    {
        this.proofWords = proofWords;
    }

    public String getProofWords() 
    {
        return proofWords;
    }
    public void setAccountingAccount(String accountingAccount) 
    {
        this.accountingAccount = accountingAccount;
    }

    public String getAccountingAccount() 
    {
        return accountingAccount;
    }
    public void setDebitAmount(String debitAmount) 
    {
        this.debitAmount = debitAmount;
    }

    public String getDebitAmount() 
    {
        return debitAmount;
    }
    public void setCreditAmount(String creditAmount) 
    {
        this.creditAmount = creditAmount;
    }

    public String getCreditAmount() 
    {
        return creditAmount;
    }
    public void setAttachments(String attachments) 
    {
        this.attachments = attachments;
    }

    public String getAttachments() 
    {
        return attachments;
    }
    public void setDocumenter(String documenter) 
    {
        this.documenter = documenter;
    }

    public String getDocumenter() 
    {
        return documenter;
    }
    public void setAuditor(String auditor) 
    {
        this.auditor = auditor;
    }

    public String getAuditor() 
    {
        return auditor;
    }
    public void setProofStatus(String proofStatus) 
    {
        this.proofStatus = proofStatus;
    }

    public String getProofStatus() 
    {
        return proofStatus;
    }
    public void setEntryTime(Date entryTime) 
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime() 
    {
        return entryTime;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("proofId", getProofId())
            .append("proofTime", getProofTime())
            .append("abstractContent", getAbstractContent())
            .append("proofWords", getProofWords())
            .append("accountingAccount", getAccountingAccount())
            .append("debitAmount", getDebitAmount())
            .append("creditAmount", getCreditAmount())
            .append("attachments", getAttachments())
            .append("documenter", getDocumenter())
            .append("auditor", getAuditor())
            .append("proofStatus", getProofStatus())
            .append("entryTime", getEntryTime())
            .append("auditTime", getAuditTime())
            .toString();
    }
}
